﻿/***********************************************************************************************
 * 
 * ProjectName: WMSSoft.Lib.WinKStart
 * 
 * Description: Provide a Configuration Object for a Action - SourceElement
 * 
 * Created:     12.09.2014
 * 
 * Author:      matthias wagler - matthias@WMSSoft.de
 * 
 * Copyright:   Copyright 2014 by WMSSoft.de
 * 
 * License:     GPLv3
 * 
 * History:     12.09.2014 - matthias wagler matthias@WMSSoft.de   -   Created
 * 
 **********************************************************************************************/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using WMSSoft.Lib.WinKStart.Abstract;

namespace WMSSoft.Lib.WinKStart.Model.MenuConfig
{
    /// <summary>
    /// Describe a GUI Control to get Data from
    /// </summary>
    [Serializable()]
    public class SourceElement : CModelBase
    {
        private string m_Element = "";
        private string m_Property = "";

        /// <summary>
        /// Provide the GUI Control Name
        /// </summary>
        public string Element
        {
            get { return m_Element; }
            set 
            { 
                m_Element = value;
                OnPropertyChanged();
            }
        }

        /// <summary>
        /// Provide the GUI Controls Property Name
        /// </summary>
        public string Property
        {
            get { return m_Property; }
            set 
            { 
                m_Property = value;
                OnPropertyChanged();
            }
        }
    }
}
